package cn.edu.sjtu.se.dslab.dao;

import java.util.List;

import cn.edu.sjtu.se.dslab.action.bean.PageBean;
import cn.edu.sjtu.se.dslab.auth.Group;
import cn.edu.sjtu.se.dslab.exception.DBException;

public interface IGroupDao {

	public void save(Group group);

    public void update(Group group);
    
    public long rowCount();

    public Group queryById(long id);

    public void delete(Group group);

    public void deleteById(long id);

    public List<Group> queryAll();
    
    public PageBean<Group> queryByPage(int pageNum, int pageSize)throws DBException;
}
